Repository navigation
feat: redesign catalog as v2 TOML superset with on-demand SDKs and GitHub App sync - #40
Merged
Merged
Conversation
This was referenced Dec 5, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Complete v2 redesign of
LMSpeed/models(dropping unused v1 endpoints/data cleanly):developers/*.toml,models/<dev>/*.toml,providers/<p>/provider.toml,providers/<p>/models/<safe-slug>.toml,aliases.toml):anomalyco/models.devv2 (1,059 models + 331+ providers + full capabilities/protocols/cost/benchmarks) plus 128 additional canonical models and LMSpeed model extensions ([parameters], multimodal[specs.*],languages, lightweight ASCII[[sources]]).:), strict RFC 3986 ASCII URLs, LobeHub icon existence checks, positive-only limits (no0sentinels), and MIT attribution inNOTICE.md./v1/*routes):/v2/api.json(4.30 MB raw / 568 KB gzip),/v2/models.json(1.17 MB raw / 143 KB gzip),/v2/index.json(82 KB raw), 336 self-contained/v2/providers/{id}.jsonshards, 1,187/v2/models/{dev}/{model}.jsoncards, and 102 deduplicated/v2/logos/{icon}.svgicons.0.2.0):httpxonly, 6.90 KiB), Rust (serde+serde_json+reqwestsemver ranges, 16.96 KiB), Go (stdlib only).fetchModel,fetchProvider,fetchIndex,fetchModels,refresh), single-flight deduplication, O(1) alias lookup, open enums & nested unknown-field tolerance verified viafixtures/contracts/future-compatible.json.models.dev+lmspeed.net/api/v1/model-specs) with 3-way diff via.sync/upstream-state.jsonto preserve community edits and TOML comments.automation/sync-catalog) + isolated review PRs (automation/sync-review-<target>) published by.github/sync-models/publish.shvia GitHub App token (AUTOMATION_APP_ID/AUTOMATION_APP_PRIVATE_KEY).validate.yml(fast ~30s validation for data-only PRs), removedmerge-validated.ymlworkarounds, upgraded Biome to2.6.9and GitHub Actions to latest pinned SHAs.